package com.syedu.day07;

public class Student {
    private String name;
    private int age;

    public Student() {
    }

    public Student(String _name, int _age) {
        name = _name;
        age = _age;
    }

    public String getName() {
        return name;
    }

    public void setName(String _name) {
        name = _name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int _age) {
        age = _age;
    }

    public void study() {
        System.out.println(name + ",在学习...");
    }
}